In general two months but the official range lists 59-70 days with an average of 65 days.
Here is link to caring for a pregnant guinea pig:
http://www.kindplanet.org/gppregnancy.html
A veterinary summary on the species (including pregnancy):
http://www.lvma.org/gpig.html