In this video you can see the cats in what I believe is a cat cafe appear to predict an impending earthquake. However, I think they actually hear a sound before the earthquake hits which puts them on edge and then, as you can see, when the earthquake starts they become panicky.
The question is whether cats can sense an earthquake arriving. I don’t think that this is some sort of mysterious ability. It may be that they can sense the smaller P wave which travels fastest from the source of the earthquake and arrives before what is called the larger S wave.
I don’t think that domestic cats can pick up signals days or hours before an earthquake hits but I am open to suggestions from visitors. The evidence that they can do this is anecdotal and without scientific foundation as far as I’m aware.
It’s more likely that domestic cats pick up foreshocks (small shocks before the actual earthquake hits) which then puts them on alert giving a signal to human observers that they are foretelling in some mysterious way an impending earthquake.