The deceased included a 60-year-old man and his wife, police said, adding the accused man has been arrested.
They said investigations were on to ascertain whether the man had any dispute with the family or he had any psychiatric problem.
The injured have been admitted to a government hospital here.