To give your Chi Pet a trim, keep an eye on the bottom-right corner of the screen. When a razor cream can pops up there, click it and your pet gets a haircut.
Fun quirk: if you leave it untrimmed, sometimes a random image of Che Guevara will appear in the grass of your Chi Pet. Yes, really.