The ratio of H2S and H20 is 1:1, so 500cm3 of hyrogen sulfide will produce 500cm3 of steam.
Volume of gas = moles X molar volume
Units of both the volumes should be the same,both must be either dm3 or cm3.
Molar volume = 24 dm3 mol-1 = 24 000 cm3 dm -1
Number of moles of Hydrogen Sulfie = 500/24000 = 0.02083 moles
H2S : H20
2 : 2
0.0208 : x
x= 0.208 moles of H20
Volume of H20 = 0.0208X 24000= 500 cm3
If you want do the calculations in dm3 then convert the the volumes which are in cm3 to dm3 by dividing it by 1000(1dm3=1000cm3) and take the molar volume as 24 dm3 mol-1.
Take care