How to buy Barren land for farming around Bangalore?

Has anyone bought a barren land recently around Bangalore? How do you find such land? How much does that cost? it would be really helpful to know the process, cost, things to consider while considering the purchase.