The British Broadcasting Corporation (BBC) has announced plans to cut up to 2,000 jobs as it struggles with financial difficulties.