At big cities, you can connect using your laptop which has wifi supported. Most Hotels, cafe, and university have free hotspot area. If you don't bring your own laptop, some cafe provide laptop for rent.
There're many ways on accessing internet in Indonesia. So if you visit Indonesia, you still easily connect with your friends and family.