Egypt will on Wednesday bury its former president Hosni Mubarak, who died at the age of 91, in a military funeral in Cairo.