Probably with the help of black Zetsu. He is just one half so maybe the other part of his body replaced Obitos crushed body? We have already seen that Obito has regeneratie capabilties so this could be true. And who knows maybe black Zetsu is Madaras attempt do rescue/revive Izuna?