We introduce a nonequilibrium molecular dynamics simulation approach, based on the generalized Langevin equation, to study vibrational energy relaxation in pump probe spectroscopy. A colored noise thermostat is used to selectively excite a set of vibrational modes, leaving the other modes nearly unperturbed, to mimic the effect of a monochromatic laser pump. Energy relaxation is probed by analyzing the evolution of the system after excitation in the microcanonical ensemble, thus providing direct information about the energy redistribution paths at the molecular level and their time scale. The method is applied to hydrogen-bonded molecular liquids, specifically deuterated methanol and water, providing a robust picture of energy relaxation at the molecular scale.