The Central African Republic and 14 armed groups reached a peace deal during talks in Khartoum on Saturday, the United Nations said.