The miners were digging for gold late Monday when heavy rain caused the nearby Ciseureuh River to overflow into a mine shaft in Bogor Regency, West Java.