An investigation is under way after two explosions near the finishing line of the Boston Marathon left three people dead and at least 140 injured.