Answer
Please see the work below.
Work Step by Step
We know that any metal above hydrogen in the activity series will displace it from water or from an acid. We also know that only Li and Ca are above hydrogen in the activity series; hence, only these two metals can react with water.