Can I apply with bad credit?

You can apply to a bank that is part of the Help to Buy scheme and they will take your credit rating and history (including any bad credit) into account as they would if issuing a normal mortgage loan.