The specification for this commonly used JST battery connector has two parts – JST SYR-02T JST SYP-02T, as shown in the images below. The pitch is 2.5mm.
In the RC world these connectors are commonly used on LiPo battery packs. They are usually referred to as JST BCE or JST RCY connectors.