Hello!
Ideally, you'd have to do your Bachelor's in Technology specifically in the branch of Aerospace Engineering from a very reputed college, after clearing your 12th (You'd have to select science with PCM minimum) to complete the minimum educational requirements of being an astronaut. NASA selects from a very elite pool, and to be a part of that you have to go through very rigorous training.
Good luck!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile