Agricultural land cannot be used for residential purpose.You need to get the land use converted from agricultural to residential before any construction. Different States have different procedures to do this.
You can convert agricultural land into residential land by paying a fee. You can get a 'change of land use' after obtaining the necessary approval from the local authorities.