Indonesian state-owned oil and gas company Pertamina raised $1.9bn from a two-tranche deal on Wednesday.