the source of the x-ray radiation comes from the thermal motions of the electrons and ions in the ICM. When a fast moving electron encounters a slow moving ion, it is accelerated due to the ions electric field. This produces Bremsstrahlung radiation (braking radiation). The temperature of the ICM is around 10 million degrees, hence the Bremsstrahlung radiation is in the x-ray band. there is also some line emission from iron, oxygen etc.
the ICM contains mainly ionised hydrogen and helium and electrons. Although the ICM is enriched with metals to about 1/3 of the solar metal abundance.
here are some links that came from "clusters of galaxies" intra-cluster medium;
http://www.astr.ua.edu/keel/galaxies/icm.html"
http://www-xray.ast.cam.ac.uk/xray_introduction/Clusters_intro.html"
if you need any more go to
http://adsabs.harvard.edu/abstract_service.html"
and search for cluster of galaxies, intra-cluster medium, Craig Sarazin, Maxim Markevitch, Alexy Vikhlinin, Christine Jones, Willy Forman, Hans Bohringer Brian McNamara etc.