M23 rebels made significant territorial gains in recent weeks, encircling Goma, which is home to around two million people.