Hello Rachitha Nath!!
To serve as IAS, IPS, IFS, etc., you must have cleared UPSC examination conducted by Union Public Service Commission of India.
Yes, you can apply for UPSC exam after pursuing your B.E. in civil engineering. The basic eligibility for UPSC examination is to complete a bachelor's degree from a recognized university.
Click on the below link to get more information regarding UPSC exam such as age limit, no.of attempts etc.,
https://competition.careers360.com/articles/upsc-ias-eligibility-criteria
Hope this information helps you!
Best of Luck!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile