Police investigating a shooting that injured two people