Gunmen have attacked a rural village in northern central Nigeria, killing dozens of people, local government officials said on Friday.