You are in status in the two month even if your H-1B not approved. Your H1B pending give you a legal status to stay in USA (but you cann't work until you get H1B approved.
So don't worry, keep your H1B receipt notice as evidence for your legal status in the two month.
So don't worry, keep your H1B receipt notice as evidence for your legal status in the two month.