Internet cafes can be found everywhere in South Africa. You can also use WiFi in some restaurants. You will usually need to request a password for this.
Many accommodations also offer internet. However, this is not always free of charge. Enquire about this at reception.
Please keep in mind that the internet is generally much slower than you are used to in Europe and that WiFi (or even phone signal) is not available everywhere.