Consumers will be able to cancel unwanted subscriptions ‘at the click of a button’, the government said.