Regulator Ofcom says it will open an investigation after customers said it was too difficult to cancel services.