The car was travelling between Diani and the Technical University of Mombasa's nearby Kwale campus on Tuesday morning when gunmen opened fire.
Kenya university shut over protests
"The officers were escorting university staff members when they were ambushed by the gunmen who killed two and wounded three including two officers," said regional police chief Larry Kieng.
Kenyatta maintains strong lead in Kenya vote: election commission
Kieng said the two university workers died at the scene while the wounded have been taken to hospital. He said an investigation was under way and that Islamic militants were among the suspects.
A month ago suspected Islamic militants attacked a church in the area killing two police officers and stealing their rifles.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ