At least three people were killed and 35 injured as heavy rains lashed Indonesia, bringing down trees and powerlines and damaging hundreds of homes, an official said Thursday.