Tanmay Agarwal's half-century and Hyderabad's strong bowling put them in control against Vidarbha in Ranji Trophy.