If the grout is not too bad you could use lemon juice. The guy who used to do our pool used an acid that we bought from a shop near the otogar. It was 1 part acid and 4 parts water. The result was top class. It did not damage the tiles or the grout
He also used the same mixture to clean the pool tiles and grout and we never had a problem.