Hosts end the second day in Puducherry with a lead of 163