The President of Egypt has condemned the bombing of a Coptic church that killed 25 people in Cairo and has declared a three day mourning period.