Energy regulator Ofgem is launching an investigation into British Gas following allegations the company sent debt collectors who broke into customers’ homes to install prepayment meters.