There is a very nice primer in the brewing science section for water additions.
It's pretty simple, and the hardness isnt everything that matters, it's more the alkalinity and what makes up the hardness that is the real issue (they have a larger impact on mash ph).
Here, it's just best to...