Tricky one. You can get a test done at the vets, but this can be expensive, even when offered (which it isnt always).
As a pregnancy advances the cat will become more ungainly, seem to put on weight, and often become secretive and antisocial. That said the first you know about it is often when they produce the kittens.