Two people have appeared in court charged with the murder of a Bradford man in York.