Astrophysical water masers in the presence of magnetic fields