(100.00 x 10^-3 g Mg) / (24.30506 g Mg/mol) = 0.0041143696 mol Mg (0.02000 L) x (1.0 mol/L HCl) = 0.02000 mol HCl
0.0041143696 mole of Mg would react completely with 0.0041143696 x (2/1) = 0.0082287392 mole of HCl, but there is more HCl present than that, so HCl is in excess and Mg is the limiting reactant,