Alex Pandian and Nithayanandan were at large and after the murder.
The Magistrate Arunachalam remanded them to judicial custody for 15 days and sent to Coimbatore Central Jail.
Arunachalam also ordered that both should be produced before a Madurai Court on August 29.