President Cyril Ramaphosa has announced the deployment of the South African National Defence Force to combat gang violence and illegal mining in the Western Cape and Gauteng.