Police have been given extra powers to tackle anti-social behaviour in two towns following a “disturbance” involving young people in a high street.