Two people charged in connection with the murder of a 23-year-old man have appeared in court charged with drugs offences.