The UN has allocated $100 million to fight hunger in Africa and the Middle East as the spillover effects of the war in Ukraine threaten to push millions even closer to famine.