Just two months? Probably you will lose any gains you have had, except if you grew a little glandular tissue under the nipples. That will likely stick around.
Don't try and fool the jail personnel. They will find out. They check everything. And you will be in bigger trouble.
If you have a legitimate Rx for spironolactone, most localities will dispense it to you while incarcerated. But hopefully, you will get out early, and can do your HRT on the up-and-up.