Amaravati set to get Rs. 31,000 cr loan