Reaction of Elemental Calcium with Water is as follow,
Ca + 2 H₂O → Ca(OH)₂ + H₂↑
When Sodium Metal is reacted with Water it produces NaOH and eliminates Hydrogen gas as shown in following equation,
2 Na + 2 H₂O → 2 NaOH + H₂↑
In both cases corresponding Hydroxides along with Hydrogen gas is produced.