The Central African Republic has declared a cholera outbreak after confirming 24 deaths and 197 cases near the capital Bangui, according to the health minister.