It really depends on the sound you are going for. Speakers for keyboards tend to be voiced differently and use power differently. Keyboard amp speakers tend to use power less efficiently than guitar amps. That's why a 100W bass or keyboard amp will struggle to keep up with a 30W guitar amp. Guitar speakers tend to require less power for the same amount of volume. Keyboard speakers tend to be similar to PA speakers in that they are more full range, whereas a guitar speaker is voiced for range of a guitar, which is heavy in the midrange. Also, many guitar speakers are designed to break up, while keyboard speakers are not.
A keyboard amp will work OK if you are going for a clean sound or a distortion sound that isn't dependent on speaker breakup. But many times, the sweet overdriven sound (and many "clean" tones) require the speaker to break up a little in order to get the tone the purists love. IMO, a keyboard amp will work in a pinch, but it's not optimal.
These are just generalizations, and there are exceptions, and your mileage may vary.