Yes you are eligible to appear for the UPSC examinations. As per the eligibility criteria you must have completed your graduation in any field from a recognized board or university. Also your age shoould be between 21 - 32 years of age. You will have 6 attempts possible.
Refer to the site below for more detailed information..
Best wishes. Thank you.