You should be able to keep these numbers. I'm not familiar
with doc2help, but the fundamental structure of HTML Help should
allow you to do this. The context help numbering is created with an
.hh file and an .ali file. Be sure to keep these files from your
doc2help.
John