Two colonels in Madagascar's army have been charged and detained on suspicion of attempting to "contest" the presidential election and "destabilise the government" ahead of the recent poll, which was held in a tense atmosphere, the prosecutor's office and the gendarmerie said on Tuesday.