Up to 30 students kidnapped by gunmen from their college two months ago in northwest Nigeria have been freed, local state official Samuel Aruwan said in a statement on Wednesday.