NaH is an ionic hydride and can easily donate its electrons. It is the most reducing.
MgH2 and H2O are covalent hydrides. H2O has lower reducing power than MgH2 as it's bond dissociation energy is higher.
Hence, the increasing order of the reducing property is H2O<MgH2<NaH.