A metal 'A' reacts violently with cold water and the released gas catches fire. Another metal 'B' floats on water and moves rapidly on the surface. Metal 'C' does not react with cold or hot water but reacts with steam. Metal 'D' does not react with water in any form. Identify metals 'A', 'B', 'C', and 'D'.