When metals reacts with water(Hot, cold or steam), they displace hydrogen from the water and Hydrogen gas is released. Metals react with water according to their reactivities. Only those metals react with water, which are above hydrogen in the reactivity series.
(a) Out of given metals, only magnesium reacts with hot boling water and forms magnesium hydroxide and hydrogen gas.
(b) Out of all the given metals only copper is less reactive than hydrogen, so it cannot displace hydrogen from the water even if the temperature is so high. That's why copper does not react even with the steam.