It sounds as if you know what caused the problem. Do you know what the KH of your tap water is? If you have some buffering capacity, you shouldn't have to do much to keep it stable once you switch over to tap water. Just do the switch slowly as nc_nutcase has described. Since you are going to be raising it quite a bit, I think I would do it over several days, maybe 5 gallon a day for a week or until you get it to where you want it. If you have access to some crushed coral, you could maybe put some in a filter bag and hang it in the tank to help slowly raise it too. Just keep in mind that if you're adding water that is 7.4 pH to water that is 6.0 pH (could possibly be lower if the color is the lowest on chart), adding 5 gallon to a 29 gallon tank (16%) will probably raise the pH about .2. I don't think you should raise it much more than that at once.