Energy suppliers are holding on to more than £3billion of customers’ cash, according to regulator Ofgem.