Nestle and General Mills have said they will cut the amount of sugar in 20 breakfast cereal products by up to 30%.