Hepatitis A vaccine is produced from inactivated Hepatitis A virus, so the risk to your baby is very low.
The risk associated with the vaccination should be weighed against the risk for Hepatitis A in pregnant women who may be at high risk for exposure.
Hepatitis B vaccine contains noninfectious Hepatitis B fragments. No adverse events to a developing fetus have been noted.
Pregnant women who are identified as being at risk for Hepatitis B infection during pregnancy should be vaccinated.