Zimbabwe’s military has placed President Robert Mugabe under house arrest in the capital Harare, South African President Jacob Zuma says.