Energy companies will spend a combined £500 million to help customers struggling with energy bills this winter after talks with the Government.