A keyboard cover is a must.

We have three desktop computers here, and my son's cats know better than to even get near them. They never showed any interest in them except for mine, but gave up when I kept running them off.