Context. Hydrogenation reactions dominate grain surface chemistry in dense molecular clouds and lead to the formation of complex saturated molecules in the interstellar medium. Aims. We investigate in the laboratory the hydrogenation reaction network of hydrogen cyanide HCN. Methods. Pure hydrogen cyanide HCN and methanimine CH2NH ices are bombarded at room temperature by H-atoms in an ultra-high vacuum experiment. Warm H-atoms are generated in an H2 plasma source. The ices are monitored with Fourier-transform infrared spectroscopy in reflection absorption mode. The hydrogenation products are detected in the gas phase by mass spectroscopy during temperature-programmed desorption experiments. Results. HCN hydrogenatio...