Violence in northwest Nigeria has forced around 20,000 people to seek safety in neighbouring Niger since April, the United Nations refugee agency said on Tuesday.