Two men have been remanded in custody at Derry Magistrate's Court charged with entering a premises with intent to inflict grievous bodily harm.