The Madras High Court on Friday granted bail to two men who stood accused of sedition and offences under the Unlawful Activities (Prevention) Act (UAPA) and who were arrested after they raised slogans against Prime Minister Narendra Modi and the police.