A 30-year-old man has been charged with two counts of rape after allegedly attacking teenagers in a seaside town alleyway.