A Kenyan court has charged two members of parliament and a government minister with committing hate speech while campaigning against the country 's proposed new constitution .