An Egyptian court on Sunday sentenced two men to death and eight others to between three years and life in prison over an attack on a church and Christian-owned shop in Cairo that killed 10 people.