Egypt's government has declared three days of mourning after the attack.