Torrential rain has triggered floodwaters of up to three-metres in and around Jakarta, officials say.