Energy watchdog Ofgem will launch a campaign to cut consumption and ensure the UK has enough supplies.