Step 1: Understanding the Concept
Nucleic acid bases are purines (adenine, guanine) and pyrimidines (cytosine, thymine, uracil).
Step 2: Count C=O groups
Adenine has none. Guanine has one at C-6. Cytosine has one at C-2.
Step 3: Thymine
Thymine (5-methyluracil) has keto groups at C-2 and C-4, so it has two.
Final Answer:
Thymine contains two keto groups.
\[ \boxed{\text{(C) }\text{Thymine}} \]