The 7.0-magnitude earthquake that hit the Indonesian island of Lombok also left more than 20,000 people homeless.