Egypt is facing a "critical moment" in its transition to democracy, US Secretary of State John Kerry said on Sunday as he arrived in Cairo on a surprise trip.