Can I write off public transportation and Lyft/Uber as an independent contractor?

I am an independent contractor and I work out of a home office. I use public transportation and rideshare apps like Uber and Lyft to go to clients, as I do not own a car.  Can I write off a bus pass ($100/month) and my work-related rideshare trip costs on my taxes, and how?