Heavy monsoon rains have caused severe flooding around the Indonesian capital Jakarta killing at least 12 dead and displacing thousands.