Charged B Decay And Ditau Anomalies From Two-Higgs Doublet Models