J.D. Chakravarthy to play Chandrababu Naidu