Formal:
* Je ne parle pas très bien français. (Formal, literal translation)
* Mon français n'est pas très bon. (My French is not very good)
* Je suis débutant(e) en français. (I am a beginner in French)
Informal:
* Je parle un peu français, mais pas très bien. (I speak a little French, but not very well)
* Je comprends un peu, mais je ne parle pas beaucoup. (I understand a little, but I don't speak much)
* Je suis en train d'apprendre le français. (I am learning French)
You can also use gestures, like pointing to your ears and shaking your head, to indicate you don't understand.
The best choice will depend on the situation and the person you are speaking to.