For a definitive ... well, interesting, piece on earthquakes and animals, see this 2003 National Geographic story.
".. precisely what animals sense, if they feel anything at all, is a mystery. One theory is that wild and domestic creatures feel the Earth vibrate before humans. Other ideas suggest they detect electrical changes in the air or gas released from the Earth."While Japanese researchers trust their pets, the article says, American scientists appear to be more skeptical. The bottom line, according to those creative U.S. thinkers? "More research is needed."