Lyapunov exponents of discrete dynamics with two parameters in one dimension

How can we calculate if we have discrete dynamics with two parameters:

f[x_, a_, b_] := Piecewise[{
{1 - a*x, x <= 1/2},
{1 - b*x, x > 1/2}
}]