Prediction of deuterium abundance in comets