Two Egyptian policemen were killed and five other people wounded as gunmen opened fire on a police checkpoint north of Cairo on Sunday, officials said.